package com.gscitysfy.cus.drain.modules.warning.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gscitysfy.cloudfrmwk.assistant.domain.Result;
import com.gscitysfy.cus.drain.modules.warning.entity.DrainSignal;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gscitysfy.cus.drain.modules.warning.entity.DrainWaringSystem;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author user
 * @since 2022-10-22 15:33:42
 */
public interface IDrainSignalService extends IService<DrainSignal> {
    Result<Object> getByPage(Page<DrainSignal> page, DrainSignal drainWaringSystem);
    Result<Boolean> addOrUpdate(DrainSignal drainSignal);
    List<String> getWarningSignalTypeList();
    List<String> getWarningSignalLevel();
}
